import type { App } from 'vue'
import vSizeChange from './src/v-size-change'
import vSetColor from './src/v-set-color'
import vFocus from './src/v-foucs'

export { vSizeChange, vFocus, vSetColor }

export const directives = { vSizeChange, vSetColor }

//提供自动注册
export default {
  install: (app: App) => {
    app.directive('size-change', vSizeChange)
    app.directive('set-color', vSetColor)
  },
}
